<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src='vue.js'></script>
</head>
<body>
	<div id="app">
		
	</div>

	<script>
		var vm = new Vue({
			el: '#app',
			template: '<div>{{test}}</div>',
			data: function () {
				return {
					test: 'hello world'
				}
			},
			beforeCreate () {
				console.log('befroeCreate');
			},
			created () {
				console.log('created');
			},
			beforeMount () {
				console.log(this.$el);
				console.log('beforeMount');
			},
			mounted () {
				console.log(this.$el);
				console.log('mounted');
			},
			beforeDestroy () {
				console.log('beforeDestory');
			},
			destroyed () {
				console.log('destoryed');
			},
			beforeUpdate () {
				console.log('beforeUpdate');
			},
			updated () {
				console.log('updated');
			},
			methods: {
				
			}
		})

		
	</script>
</body>
</html>